package org.abc.fund.service.trade.request;

import lombok.Data;
import java.math.BigDecimal;
import java.util.List;

@Data
public class SettleOrderRequest {
  private List<SettleDetail> details;

  @Data
  public static class SettleDetail {
    private Long orderDetailId;
    private boolean success; // true代表成功, false代表失败
    private BigDecimal settledAmount;
    private BigDecimal settledShares;
    private BigDecimal fee;
    private String failureReason; // 失败原因
  }
}
